<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:jsf="http://xmlns.jcp.org/jsf"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">



    <!-- BUTTON RESPONSIVE, AND JQUERY OPEN MENÚ -->
    <ul class="nav">
        <li>
            <a href="#" data-toggle="offcanvas" class="visible-xs text-center">
                <i class="glyphicon glyphicon-fullscreen"></i>
            </a>
        </li>
    </ul>

    <h:form>
        <ul class="accordion nav hidden-xs" id="lg-menu">
            <strong><h3>Menú Principal</h3></strong>
            <li id="one" class="files">
                <a href="#one">Ventas<span>10</span></a>
                <ul class="sub-menu">
                    <!--<li>
                        <p:commandLink update=":panelContent">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/maintenance/product_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Vender
                        </p:commandLink>
                    </li>-->
                    <li>
                        <p:commandLink update=":panelContent" action="#{saleDocumentsController.initValuesSaleDocument()}">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/operation/sale_documents/invoicing_create_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Factura
                        </p:commandLink>
                    </li>
                    <li>
                        <p:commandLink update=":panelContent" action="#{saleDocumentsController.initValuesSaleDocument()}">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/operation/sale_documents/ticket_create_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Boleta
                        </p:commandLink>
                    </li>
                    <!--
                    <li>
                        <p:commandLink update=":panelContent">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/maintenance/mark_create_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Marcas
                        </p:commandLink>
                    </li>
                    <li>
                        <p:commandLink update=":panelContent">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/maintenance/unittype_create_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Tipo de Unidad
                        </p:commandLink>
                    </li>
                    <li>
                        <p:commandLink update=":panelContent">
                            <f:setPropertyActionListener
                                target="#{navigationController.navigationContent}"
                                value="./pages/maintenance/category_create_view.xhtml" />
                            <i class="glyphicon glyphicon-list-alt"></i> Categoría
                        </p:commandLink>
                    </li>
                    -->
                </ul>
            </li>
            
        </ul>
    </h:form>
    <!-- FOOTER DEL MENÚ -->
    <ul class="list-unstyled hidden-xs" id="sidebar-footer">
        <li>
            <a href="#">
                <i class="glyphicon glyphicon-thumbs-up"></i>
                ©Copyright Max - Jorge
            </a>
        </li>
    </ul>
</ui:composition>
